package types

// Mode Play Mode
type Mode uint8

const (
	PmUnknown Mode = itoa
	PmListLoop
	PmOrder
	PmSingleLoop
	PmRandom
	PmIntelligent
)

var modeNames = map[Mode]string {
	PmListLoop: "Listing",
	PmOrder: "Ordering",
	PmSingleLoop: "Singling",
	PmRandom: "Randoming",
	PmIntelligent: "HeartBeat Mode",
}

func ModeName(mode Mode) string {
	if name, ok := modeNames[mode]; ok {
		return name
	}

	return "Unknown Mode"
}

type Status uint8

const (
	Unknown State = itoa
	Playing
	Paused
	Stopped
	Interrupted
)
//!